package cn.csc.module.product.controller.admin.spu.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigInteger;
import java.util.List;

/**
 * @author 云隐
 * @date 2024/11/22
 **/
@Data
public class SkuRuleAttrReqV2VO implements Serializable {

    private BigInteger id;
    @ApiModelProperty(value = "商品规格名称")
    @NotNull(message = "规格名称不能为空")
    private String name;
    @ApiModelProperty(value = "商品规格值")
    @NotNull(message = "规格值不能为空")
    private List<SkuRuleValueAttrReqV2VO> list;

}
